
// Info.java

package com.ruoyi.service.entity.order;

import com.ruoyi.service.domain.ServiceItems;

@lombok.Data
public class PCOrderInfo {
    private Long id;
    private String name;
    private String image;

    private Long specId;
    private String specName;
    private Long specPrice;

    private Long pkgId;
    private String pkgName;
    private Long pkgAmount;

    private Long price;
    private Long count;
    private Long cost;

    private Boolean fromNur;



    public void initItem(ServiceItems item) {
        this.id = item.getItemId();
        this.name = item.getItemName();
        this.image = item.getItemPicture();
    }
}